package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.StatementAccountExample;
import com.jsh.erp.datasource.vo.StatementAccountVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StatementAccountMapper {

    long countByExample(StatementAccountExample example);

    int deleteByExample(StatementAccountExample example);

    int deleteByPrimaryKey(Long id);

    int insert(StatementAccountVo record);

    int insertSelective(StatementAccountVo record);

    List<StatementAccountVo> selectByExample(StatementAccountExample example);

    StatementAccountVo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") StatementAccountVo record, @Param("example") StatementAccountExample example);

    int updateByExample(@Param("record") StatementAccountVo record, @Param("example") StatementAccountExample example);

    int updateByPrimaryKeySelective(StatementAccountVo record);

    int updateByPrimaryKey(StatementAccountVo record);

    Integer batchInsertStatementAccountVo(List<StatementAccountVo> vos);
}
